package com.zk.shop.pojo;

import java.sql.Timestamp;

public class Manager {
    private Integer mid;
    private String mno;
    private String mpwd;
    private Integer mrole;
    private Integer login_success;
    private Timestamp lastlogintime;
    private String loginarea;
    private String loginip;


    @Override
    public String toString() {
        return "Manager{" +
                "mid=" + mid +
                ", mno='" + mno + '\'' +
                ", mpwd='" + mpwd + '\'' +
                ", mrole=" + mrole +
                ", login_success=" + login_success +
                ", lastlogintime=" + lastlogintime +
                ", loginarea='" + loginarea + '\'' +
                ", loginip='" + loginip + '\'' +
                '}';
    }

    public String getLoginip() {
        return loginip;
    }

    public void setLoginip(String loginip) {
        this.loginip = loginip;
    }

    public String getLoginarea() {
        return loginarea;
    }

    public void setLoginarea(String loginarea) {
        this.loginarea = loginarea;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getMno() {
        return mno;
    }

    public void setMno(String mno) {
        this.mno = mno;
    }

    public String getMpwd() {
        return mpwd;
    }

    public void setMpwd(String mpwd) {
        this.mpwd = mpwd;
    }

    public Integer getMrole() {
        return mrole;
    }

    public void setMrole(Integer mrole) {
        this.mrole = mrole;
    }

    public Integer getLogin_success() {
        return login_success;
    }

    public void setLogin_success(Integer login_success) {
        this.login_success = login_success;
    }

    public Timestamp getLastlogintime() {
        return lastlogintime;
    }

    public void setLastlogintime(Timestamp lastlogintime) {
        this.lastlogintime = lastlogintime;
    }

    public Manager() {

    }

    public Manager(Integer mid, String mno, String mpwd, Integer mrole, Integer login_success, Timestamp lastlogintime) {
        this.mid = mid;
        this.mno = mno;
        this.mpwd = mpwd;
        this.mrole = mrole;
        this.login_success = login_success;
        this.lastlogintime = lastlogintime;
    }
    public Manager(Integer mid,String loginip,String loginarea, Integer login_success, Timestamp lastlogintime) {
        this.mid = mid;
        this.loginip = loginip;
        this.loginarea = loginarea;
        this.login_success = login_success;
        this.lastlogintime = lastlogintime;
    }

    public Manager(String mno, String mpwd,Integer login_success) {
        this.mno = mno;
        this.mpwd = mpwd;
        this.login_success = login_success;
    }

    public Manager(Integer mid, String mpwd) {
        this.mid = mid;
        this.mpwd = mpwd;
    }

}
